#pragma once
#include "ctkPluginActivator.h"
#include "mainwindowservice.h"
#include "mainwindowimpl.h"

class MainWindowImpl;
class MainWindowActivator : public QObject, public ctkPluginActivator
{
    Q_OBJECT
    Q_INTERFACES(ctkPluginActivator)
    Q_PLUGIN_METADATA(IID MainWindowService_iid)

public:
    void start(ctkPluginContext *context) Q_DECL_OVERRIDE;
    void stop(ctkPluginContext *context) Q_DECL_OVERRIDE;

private:
    QScopedPointer<MainWindowImpl> m_plugin;
};
